home *** CD-ROM | disk | FTP | other *** search
/ Windows News 2010 Summer - Disc 1 / WN_Ete2010_CD1.iso / Onglet5 / Weezo / Weezo setup.exe / {code_appDir} / www / includes / updateScript.php < prev    next >
PHP Script  |  2010-05-19  |  458b  |  16 lines

  1. <?php
  2. // V1.X => V2.0+ update script
  3.  
  4. // Upgrade connections database (browsers login support)
  5. dbCreateDB();
  6. dbUpgrade();
  7.  
  8. // Upgrade ffmpeg version (from 1st GPL version to 2.0 version)
  9. if(@cfFileSize(cfAppBinDir().'/ffmpeg/weezoFfmpeg.exe')==8295936) {
  10.     // Ask UI to display ffmpeg load script
  11.     cfServerSendCommand('executeScript script="/local/loadFfmpeg.php?silentInstall=1"');
  12. }
  13.  
  14. // Unlink script
  15. @unlink(cfAppDocRoot().'/includes/updateScript.php');
  16. ?>